using UnityEngine;

namespace IQIGame.Onigao.Framework
{
    public partial class FrameworkEntry : MonoBehaviour
    {
        public static MonoDriver MonoDriver { get; private set; }
        public static NetworkManager Network { get; private set; }
        public static ObjectPoolManager ObjectPoolMgr { get; private set; }
        public static ResManager Res { get; private set; }
        public static ProjectSettingManager ProjectSetting { get; private set; }

        private void InitMgrRefs()
        {
            MonoDriver = GetModule<MonoDriver>();
            Network = GetModule<NetworkManager>();
            ObjectPoolMgr = GetModule<ObjectPoolManager>();
            Res = GetModule<ResManager>();
            ProjectSetting = GetModule<ProjectSettingManager>();
        }
    }
}
